how to automate web elements in selenium automation testing